<?php 
error_reporting(0);
include ('common/connection.php');
$id=$_GET['id'];
$queryUser="SELECT * FROM `users` WHERE id=$id";
$resultUser=mysql_db_query($db_name,$queryUser);
$rsUser=mysql_fetch_array($resultUser);
$batch =$rsUser['batch'];
$kids = $rsUser['member']-1;

$amount=$rsUser['amount'];
$spouse=$rsUser['spouse'];
$originId=$rsUser['verify'];
$name=$rsUser['f_name'];

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="formStyle.css" type="text/css" />
<link rel="stylesheet" href="tomal_style.css" type="text/css" />
<link rel="stylesheet" href="style_countdown.css" type="text/css" />
<link rel="stylesheet" href="confirmation_email.css" type="text/css" />
<link rel="stylesheet" href="print_doc.css" type="text/css" media="print"/>

<script src="jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="jquery.countdown.pack.js"></script>
<script type="text/javascript">
function document_valid(num){

	if(num==1 || num==2){
		document.getElementById("sub_box5").style.display="none";
		document.getElementById("sub_box5_1").style.display="none";
		document.getElementById("sub_box4").style.display="block";
		document.getElementById("sub_box4_1").style.display="block";
	}
	if(num==3){
		document.getElementById("sub_box4").style.display="none";
		document.getElementById("sub_box4_1").style.display="none";
		document.getElementById("sub_box5").style.display="block";
		document.getElementById("sub_box5_1").style.display="block";
	}
	
		
	}
</script>

<script type="text/javascript">
$(function () {
$('#countdown').countdown({until:$.countdown.UTCDate(+6, 2012,  3 - 1, 23), format: 'DHMS', layout: 
	  '<div id="timer">' + 
		  '<div id="timer_days" class="timer_numbers">{dnn}</div>'+
		  '<div id="timer_hours" class="timer_numbers">{hnn}</div>'+ 
		  '<div id="timer_mins" class="timer_numbers">{mnn}</div>'+
		  '<div id="timer_seconds" class="timer_numbers">{snn}</div>'+
		'<div id="timer_labels">'+
			'<div id="timer_days_label" class="timer_labels">days</div>'+
			'<div id="timer_hours_label" class="timer_labels">hours</div>'+
			'<div id="timer_mins_label" class="timer_labels">mins</div>'+
			'<div id="timer_seconds_label" class="timer_labels">secs</div>'+
		'</div>'+							
	'</div>'
						  
});
});
</script>



<title>Home</title>
</head>



<body>
<div id="main_div">
	<div id="main_div_upper_shadow"></div><!-- end of main_div_upper_shadow-->
    <div id="main_div_upper_black"></div><!-- end of main_div_upper_black-->
    
    <div id="main_div_banner_top">
    	<!--<img src="images/banner.jpg" />-->
    	<!--<div id="logo"></div> --><!-- end of logo -->
    	<!--<div id="header1"></div>--><!-- end of header1-->
        
    </div><!-- end of main_div_banner_top-->
    <div class="black_search_box"><a href="bobi.php?search=result">Already Registered</a></div>
    <div id="middle_black_body">
    	<p class="countdown_header">Time Left for Reunion</p>
        <p class="registration_header">Total Registered</p>
		<?php 
			$origi=$rsUser['id']; 
			$total=(100+$origi);
			if($total<1000){$total="0".$total;}			
		?>
        <div class="total_registered"><img src="images/total_registerd.PNG" /><p><?php echo $total;?></p></div>
    
    	<div id="countdown"></div>
    
    
        
    </div><!-- end of middle_black_body -->
    
    <div id="after_middle_black_body">
   		<div id="after_middle_curvy_top"></div>
        <div id="after_middle_normal_body">
        	<p class="header_p1" style="font-size:24px; font-weight:bold;">Thank you for registering for Banani Bidyaniketan: 40 Years Celebration & Reunion - 2012. </p>
            
            <div class="conf_email_p">
                <p><span>Your Full Name:</span> <?php echo $rsUser['f_name'];?></p>
                <p><span>Batch:</span>  <?php echo $rsUser['batch'];?></p>
                <p><span>Your Cell No:</span>  <?php echo $rsUser['cell_num'];?></p>
                <p><span>Your Reunion ID:</span> <strong><?php echo $originId;?></strong></p>
                <p><span>Your total registration fee:</span> BDT <?php echo $rsUser['amount'];?></p>
                <p><span>Bringing Your Spouse:</span> <?php if($spouse!=''){echo "Yes";$kids=$kids-1;}else{echo "No";}?></p>
<?php
if($kids<0)$kids=0;
?>                

<p><span>Bringing Your kids(No):</span> <?php echo $kids;?></p>
            </div><!-- end of conf_email_p-->
            
            
             <p class="header_p1" style="font-size:22px; font-weight:bold;">Please Bring your Reunion ID: <?php echo $originId;?> to the Registration spot<!--PLEASE TRY TO BRING PRINT OUT OF THIS PAGE AT THE PAYMENT POINT--></p>
             <!--<p align="center" style="margin:0px; font-size:16px; font-family:Verdana, Geneva, sans-serif; font-weight:bold; color:#900">[Driver's Dinner Coupon (optional) will be available at BDT 300 at Payment Point]</p>-->
             <p class="header_p1" style="font-size:34px; font-weight:bold;">Payment Points</p>
             <div class="emailbox3">
             	
             		<table border='0' cellpadding='0' cellspacing='0' style='margin-left:40px; line-height:1.3;'>
                    	<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani Bidyaniketon,East School Building</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>1st Floor, waiting room</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>time : 11.00 am - 6.00pm</p></td>
                        </tr>
                        <tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Organizing President</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Amanul Haque</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01942915381 </p></td>
                        </tr>
						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Nikunjo (2008 batch )</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Ahmed Shatil Ruhi</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01818037752 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Riyadh Ahmed</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01670920662 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Mohakhali (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Mehedi Hasan Khan</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01750666981 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Md. Ashiqur Rahman</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01676522609 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Md. Arifuzzaman Jehan</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01714378200 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Farhat Aziz Sheen</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01911484775 </p></td>
                        </tr>

						
                        </table>
                    
                    
                    
                   <br />
             
             </div>
            
            
        
        </div>
        <div id="after_middle_curvy_bottom"></div>
    </div><!-- end of after_middle_black_body -->
    
</div><!-- end of main_div -->
<div class="webpers_logo">
	<p class="copy_right">&copy; 2012, all right reserverd to <a href="https://www.webpers.com" style="color:#0066FF; font-weight:bold;">2008 Batch</a></p>
    <div class="left_static_1">
        
        <ul>
        	<li><p class="powered_by">Powered By <a href="http://www.webpers.com" style="color:#0066FF; font-weight:bold;"> webpers.com </a></p></li>
            <li><a href="http://www.webpers.com" style="overflow:hidden"><div class="webpers"></div></a></li>
            <li><a href="https://www.facebook.com/pages/Webpers/245892612091499" style="overflow:hidden"><div class="webpers_facebook"></div></a></li>
            <li><a href="#" style="overflow:hidden"><div class="webpers_twitter"></div></a></li>
        </ul>
        
        
        
    </div>
</div>
<script type="text/javascript" />
function blink(selector){
$(selector).fadeOut(500, function(){
    $(this).fadeIn(500, function(){
        blink(this);
    });
});
}



blink('#blink_2');
blink('#blinking_info');
</script>

 <!-- print div -->
            <div class="prntCont">
            	<div class="prntHead oh">
                	<img src="http://kathuriya.webpers.com/HTmL/iba.PNG" width="800" />
                 </div>  	
                
                <div class="bodyCont">
                	<p class="header_p1" style="font-size:24px; font-weight:bold;">Thank you for registering for BOBI REUNION 2012. </p>
                    <p class="header_p1" style="font-size:24px; font-weight:bold;">please pay your registration fees and collect your ticket within one week. </p>
                    
                    <div class="conf_email_p">
                        <p><span>Your Full Name:</span><?php echo $rsUser['f_name'];?></p>
                        <p><span>Batch:</span>  <?php echo $rsUser['batch'];?></p>
                        <p><span>Your Cell No:</span><?php echo $rsUser['cell_num'];?> </p>
                        <p><span>Your Reunion ID:</span><strong><?php echo $originId;?></strong> </p>
                        <p><span>Your total registration fee:</span> BDT <?php echo $rsUser['amount'];?></p>
                        <p><span>Bringing Your Spouse:</span><?php if($spouse==1){echo "Yes";}else{echo "No";}?></p>
                        <p><span>Bringing Your kids(No):</span> <?php echo $kids-1;?></p>
                    </div><!-- end of conf_email_p-->
                
                <div class="printbox">
             	
             		<table border='0' cellpadding='0' cellspacing='0' style='margin-left:40px;'>
                    	<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani Bidyaniketon,East School Building</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>1st Floor, waiting room</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>time : 11.00 am - 6.00pm</p></td>
                        </tr>
                        <tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Organizing President</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Amanul Haque</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01942915381 </p></td>
                        </tr>
						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Nikunjo (2008 batch )</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Ahmed Shatil Ruhi</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01818037752 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Riyadh Ahmed</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01670920662 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Mohakhali (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Mehedi Hasan Khan</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01750666981 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Md. Ashiqur Rahman</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01676522609 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Md. Arifuzzaman Jehan</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01714378200 </p></td>
                        </tr>

						<tr>
                        	<td class='namelocation' style='width:380px; font-weight:bold; color:#1D1D1D;'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Banani (2008 batch)</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>Farhat Aziz Sheen</p></td>
                            <td class='email_contact' style='width:200px; text-align:left'><p style='font-family:Verdana, Geneva, sans-serif; font-size:14px;'>01911484775 </p></td>
                        </tr>

						
                        </table>
                
                </div>
            </div>

</body>
</html>
